namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// 基础数据 -SKU产品
    /// </summary>
    public DbSet<POProdSkuProduct> ProdSkuProducts { get; set; }
}

/// <summary>
/// 基础数据 -SKU产品
/// 表[prod_sku_product]
/// </summary>
[Table("prod_sku_product")]
public class POProdSkuProduct
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[prod_sku_product.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// SKU_ID
    /// [prod_sku_product.sku_id)]
    /// </summary>
    [Column("sku_id")]
    public long? SkuId { get; set; }
    /// <summary>
    /// 顺序号
    /// [prod_sku_product.prod_index)]
    /// </summary>
    [Column("prod_index")]
    public int? ProdIndex { get; set; }
    /// <summary>
    /// 产品ID
    /// [prod_sku_product.product_id)]
    /// </summary>
    [Column("product_id")]
    public long? ProductId { get; set; }
    /// <summary>
    /// 物料ID
    /// [prod_sku_product.material_id)]
    /// </summary>
    [Column("material_id")]
    public long? MaterialId { get; set; }
    /// <summary>
    /// 生产日期
    /// [prod_sku_product.md_time)]
    /// </summary>
    [Column("md_time")]
    public DateTime? MdTime { get; set; }
    /// <summary>
    /// 创建时间
    /// [prod_sku_product.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [prod_sku_product.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [prod_sku_product.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }

    /// <summary>
    /// 是否以出库
    /// [prod_sku_product.out_bound_flag)]
    /// </summary>
    [Column("out_bound_flag")]
    public int? OutBoundFlag { get; set; }
}
